reordered images and added rotations