clean up and docs