localize var in recursive method just in case