first version of Moment for date generation