added location utils