ministry of state function