implemented "Total"