added design for stack thingy in scanner and parser section