adding new Date() support