node summary function