Reverted frontend calculations and restored to EARNINGS!