put some try except blocks