first implementation of rotation and grayscale effects