getter for rotation improved and refactored a bit