added DotChain.py