Control of the medium