never thought a goto would fix things