type and add skeleton of the primitives of knodb