add nearestStation function