turn UNCATEGORIZED into a function