started implementing rotation