add a rudimentary location setting mechanism