refacor model micro