Revert "removal of obsolete $access2 variable"

This reverts commit fac5abdb39bb4077d06937cc546732e303b425ba.