added graphical elements and layout