Remove instance of "map" and change to list.