refactor epi vs misc