log case to logic chopper