removing unnecessary try/catch