Added repeat frames method