added setdate