split out EFQ ing=to helper function