Reprogrammed COLLECTIONS to use primitive arrays