modifies initBuffers to reflect lesson2