added comments to the basedoc template