move input types into inputHandler