added subRep and changed super index