beginnings of tab plotdist implemented