using new Date in a more standard way now