work on stacks
more work on stacks