Initial input handling