make sure bool operation works