will now pay atention to the location returned in json