ECE-520 Switched factory1 on line 161 and factory2 on line 171 around