better practice calling getLocation