Fabrication of cmos