w.i.p. compare function for series