rotation working correctly