added stack test