added stack to initialize