add models;add category function