documentation and minor fixes
checking in work