removed unnecessary try catch