this is for the lecture from coursera