implement the rotation assignment