the cord is connected to an electronic device