add string repeat routine