Add setIntensity method