Fixed term_example.py