Adding up the IOS code