Write list_cohort method