added profits and totals

Redundant `return` detected.