Added solutions to rotate