Created a Try/Catch block