add function to get category of item