finish : finish the final program