Implemented category selection