minimax cleaned up, thing is more or less running