also store nodetype for reuse