add category api etc