corrected proximity check