optimized code and added fixed rotation