pep8-ified ltc.py