added iOS 7 support finality