working new buffer