added flat_cohort_table model