Core functions to ios 8