runs through different term generators and sums them up