handling || and && (not tested yet)
tests for || and && ok