implement basic cohort