changed string to repeat