Added iOS8 functionality