my %stack = ( previous => \%previous, output => \%output, current => \%current );