add buttons and layout