finish rdhinet.py