I **think** this code after catch can be moved inside the try after the validate() call