Started working on graphical functions