some docs and polish.