simplify day class and add more logging