Basic rotation implementation