paused_lesson function added