Removed iphone excess code