add some function about category and label list