added location setting and location visibility model functions