An apparatus and method of forming an apparatus wherein the apparatus includes a first electrode and a second electrode arranged to form a parallel plate capacitor a compressible, transparent dielectric layer provided between the first electrode and the second electrode wherein the dielectric layer has a nanostructure and the dimensions of the nanostructure are such that the dielectric layer is optically transparent.