removed unnecessary call to setBuffer as this is the default.