getting locations works