sourcecode for valued IOS