renamed addStudent to addNode