did refacor