add summary method