IOS_Algorithm