Added duplicate-buffer