worked on tic tac toe