add some docstrings to parallel