small changes to board.hpp