simplified buffer filling procedure