f(x)=Events