buffer working