Rotate solution