makes _create_tracker more generic, public. Adds docstring