.
add incremental buffer filling function.