Added buffer.c