modified lab6