C value properly calculated now