added new lesson functionality