all the coding has been done for lecture page