updated methods to create a lesson