add the function install_c