Updated for GM syntax. Optimized for the iPhone 6 and 6 Plus.