Updated Stack and StackNode