Checked the memory buffer stuff