new, working dsm.py