revised hydrobide_simple.py -KL