Implement repeat mode