rework the docstrings and copyright