start of document module creation