add code for visualisation of a pixel