added fixed oddball

i have done everything, theres 2 commits, i think, the one called derp is the one where i removed i = 0
the first one i made some variables local, and removed useless code