continued to export functions and expand on documentation and commenting