use if/else instead of try/catch