before adding applength to Event