made vars work in boolean expressions