added key input management via class