complete rewrite based on the conditional flow of the study questions