nif validator implementation