replace unused methods with new repeat* API