fixed lab6