added service method to query by distance