added more variables to the button