finished docs for hemlock.py finally