complete get set intensity function