fixed logging
2 nodes working, 3 nodes loop