Revert "show how threading could work"

This reverts commit 02b1f85aa1c6de4150447d3097762f49b1bbc404.
fix sample and format docstrings