working, but no if-statement for group_analysis in group_corr. revert later