Split main.