fixed lab_6 again