creating  NIF library