implemented grayscale map under contact