minimal documentation + minor cleanups