sum var

replaced the days hours with the sum var