renaming lecture6 at lecture7.R