fixed up doc, finalized model