getChunk Implementation