adding grayscale method