Rotate object implemented