added time range field to event class