changed so that the encoder data is sent directly when it is requested