The present invention provides a system comprising: (i) a layer containing a nitrite and (ii) a hydrogel that contains hydrogen ions wherein the layer containing a nitrite and/or the hydrogel comprises a pharmaceutically active agent. The invention also provides the use of a system of the invention in medicine, and in the treatment of pain.