Added distance parameter to others