Working on minimax.