The previous way didn't work, as the variable stack contains indexed array with ...