N type and P type materials