added graphics and buttons