Rename util: getDistance -> distance