created board, board controller and mark function