changes to minimax