added getTotal fee