add the structure for the stack