add rotation call, make encoders an integer