adding calculator for events