working rotation and added color