readNextChunk instead of input