added lookup for variables