issue #2 Total is working