refactor(Date.now): used Date.now() instead of getTime()