Updated to allow for different ratios/amount tasks.