making ios global variable