a little bit of clean up on the board code