Added ability to process boolean expressions