add Date class (not working now)