Adding support for events with various durations

modified default output