minor tweaks -- to add -- resample to EPI