added incoming nodes logging function