finished races persistence (a waaay too big commit, not proud of this one)