Coded in Distance class.
Merged