add category functionality added