more input handling