initial ios7 code