CDF calculations work perfectely