an electronic device connected to a cord