Initialize input to avoid NullPointerException