some cleanup work
documentation updates