Final changes to lecture6