add rotation adjustment