sampledist.py added