basic chunking api in place