added throws if buffers fails.