dynamic slice of callbacks, added summary callback to DefineStruct