got right minimax hopefully