modularize
docstring phrasing