refactor multifid