added in a heuristic that fits minimax better