setting up authorized compartments