corrected location adder