Added lessons functionality