Adding Try-Catch to avoid putting alphabet instead numbers