added board.cpp