trying to query for a distance