adding minimax...