adding try_except example.