added some setup code for Location Manager