notes on LUA environment