how would I create a function that selects the current category?
how would I create a function that selects the current category?