Add condition for correct input