operator logic