operator logic handling