final version.

- added synopsis
- computed total damages.