Adds AND and OR operations