Change to use encoder 1