Started on an encoder program