write ui of sch