change the events calc