Using six instead of try catch