getnearevents work