added hourstats()