Added event_length method