function switch location