added support for functions and variables, no formal parameters