working on distance addder