class protection levels adjust