added runDiff