Functions Industry

Fixed Infinite Loop.