hw6 and lab6