lab1 buffers init