added total amount to importToExcel method