encoder and comms working