add function to add nodelist