implement coin & distance