updated docstring to include all outputs