Complete lesson functionality