updated lab6