added profitGained