implemented lesson creation