reworked input manager