make __stackArray a function.