add check for earliest event