implementing InputEventsManager