added the repeat method on the lesson model