-- fixed formatting, static errors and replaced contribution_type to fin...

...ancial_type