fixed initial board state to be array