added notes from semester 2