Implemented Grayscale template