replaced RayleighMon with Vector-base function