changed output of getLocation to Map