changed w to ω (lower-case omega)