creating the base of the doc stub to be used