Works like before, but with selection categories.