Density function theory calculation to study the oxidation potential of electron-donating compounds; affirming the oxidation mechanism by NICS calculations