added new variable to button component