Revert "Remove the main() followed by XXX"

This reverts commit 9f2a507752c237841f722f3ad0738392d514009c.