Added last bits of lecture 3