added rotate functions