closestTo(x,y) added