added logic operators