edited stack[]