added add category method