first working version including random distribution of tuples
first working version including random distribution of tuples