how does the general election work