source file added with sample iphone/ipad code