factory_orders (pretty sure it's ok)
pretty sure this changes are good
factory orders now working with new code