added provisioning logic to definition models