removed local var