lab6 updated