added logical operators.