initial import of tf_hz.py