rewrite globals to inherit from a single class
add dummy hour usage