Refining control