comprehensive lecture notes 3641811