Simple sample code objective-c