refining done