is not ios 7 inline function