added stack problem