Working on factor calculation.