doc almost done