Add internal buffer
Add method for querying the buffer