implement stingd.py