do all the things correctly when creating a doc