refining processes