edit lecture: finish lecture 18