check for installed packages