try catch instead