working on nodes and dom