first draft for hermaia.py