better try except