Making a new buffer here is the issue