Changed to local var