Change specification of repeat