got rotation working correctly