making buffer management a bit simpler