documenting the code, wip