added a tiny bit of code for some sort of call stack in env.c