inverse preview logic