finish up doc