Added Thresholds to AttributeReadCode