some work on invocation parsing. and completion of stack implementation