added grayscale.h