Eliminate gotos