Text this: the effect of doping ratio on the opical properties