updated second lecture