better check for installed packages