some work on categories and tags