ROLE OF RIGIDITY AND FLEXIBILITY OF FUNCTIONAL GROUPS WITHIN THE INTERIOR OF SUPRAMOLECULAR ASSEMBLIES AND THEIR IMPLICATIONS