renamed stack to dummy stack