Added the functionality of a boolean expression.