removed throw from try catch