work on changes to handle grey-scale shading