add duration and running events