setting up buffer on board