Updated for iPhone 5 Compatability