restricting to button presses only