cleanup and docs stuff