Changed Date.now() to new Date()