support for button inputs added