date setting almost complete