be an instance of buffer