Get Function for all the location working