made fdr actually do multiple calculations.