BUTTONS

added function to buttons