added rotation as one of the properties.