changing newBoard to new_board to follow naming convention