support local vars in a way