docstring audit for segment