added the notes from lecutre 3