adding tags and nodes