change this.rep = "" to this.createNewRep()