create lecture optimization