upgraded for iOS 7