ei midist
distance is working