changed position of try: