added code to head for iphone