Updated Summary function

Again--let me know if I made an error.