add. some validation and opts to add_cohort_data.