tweaked documentation
removed old code