Adding total_earned and fixing page layout.