add ability to rotate final image