working copy of lab6