ability to pass buffer in