orm lesson, generator lesson