Functions Industry 16 - finalized code