Updated lecture3