adding logs and nodes