working with boolean operators