calc first event on the fly