added d after day count, adder future error check todo