moved class into lecture6 package