replace toList by internalList