Adding distance to user's query