Refactor private
Implement and test rotate