generalizing variables