rather than "return 0", here you can `raise` an exception -- that is nice because it will generate a traceback for the user showing exactly where in the code something went wrong. You can also do fancy things with exceptions, but we can chat about that offline...