added code to filter out uncategorized stuff