ch 10. not working buffers
ch 11