forcing array in recursion