Adding side effects to flat table cohort