i don't even know dude. shit works now
:implemented proper lookup of variables in the environment