Adding lecture3 stuff