lecture 3 : almost done