added graphical testing