docstrings for weights