AND and OR functions added.