fixed rotation and added requirements