added location setting