Added rotation helper class