Implemented a chunking system