Initial setup, need to fill in stack function and copy over node code :-)