tested with ios 6 sdk