added back in backwards compatible for iOS 6