Added support for spent hours