new idea with stacks