add distance calcs