removed stack test code