established basic lesson-adding functionality