now using k-factor from external root files