main新增 example&custom&histogram routine