add time-dependent component; clean up pep8 compliance and spurious tabs