better ninstall method