added output of button press