implement getValidCategory