Changed concat checkRep