buffer.c done