Revert "main code"

This reverts commit a7a491ebaf9d0d26b6e6ddcb97779c1214a6fc70.