removed unnecessary try/except