pushbutton input is working