change the Date creation to be more idiomatic