add buttons and change layout