how to write option comparison it