stack could still be null at this point