Started to make the updated main.