category selection works