generalize judges enumeration