modified grey scaling