- added add category function