Now generates tuples for x documents