inappropriate use of try/except. use ``str.find``