changed index and controller for lesson.number