Adding the button example to the class