use MiniMax scope added try/catch