Changed intensity to const