inputhandler: functions for firing callback added