changed buttons and added panel to accordian