trackeditor first draft. index still runs old code