working on the button panel