Changing getAttractions function to return location as well