combine three functions into one: Board.initialize