axis 2 rotation function complete