add some visulisation function to the programm.