A molecular layer includes a Langmuir-Blodgett (LB) film of a molecule
connected to a plurality of active device molecules, the molecule having
a moiety with first and second connecting groups at opposed ends of the
moiety. Each of the plurality of active device molecules includes a
switching moiety, a self-assembling connecting group at one end of the
switching moiety, and a linking group at an opposed end of the moiety.
One or more defect site(s) exist between the plurality of active device
molecules. A respective number of the first connecting groups of the LB
film are connected to the plurality of active device molecules via at
least some of the linking groups such that the LB film covers the
plurality of active device molecules and the one or more defect site(s).