added graphic part