add distance change to output