added setting of Xs and Os