hour nesting implemented