generalizing categories