graphical implemetation of view