add nvd lib and current state