first working version of serial chunking