replaced graphics
updated version code