docs and clean up