docstring
broadcast refactor