made the total finally work!