removing try except