Created function for jnodeid