stuff is done!
add comments and cleanup docs