Made double_buf