Working on location switch, not finished.