docstrings to coin.py