abstract the buffer handling
0.0.2