hack out category definitions