removeNode updated, addNode updated (bug fixed), sendData and removeData
also updated (removed bugs)