moved back into Ingestor
collection functions moved back into Ingestor