Added event distance feature.