Added Intensity function