some more useful input handler methods