finished whole Lecture 4