add category functionality to project