added applength attribute to Events table