upgraded v3.0 + perf sript 1 + explain