logical operations example