Text this: Electronic characteristics of CdS quantum dots with defects