summary function implemented - header changes
updated