finish updating lecture 21