add pinyin and random utils