Added rotation feature