add function install_package