corrected error in condition of lab 2