wrote godoc for dos/*.go