* backend changes to accommodate factorial CRF