Control of raw materials