added graphics to layout