base model to take nid added