generate FMRI correctly