Near function fixed.