added \DateTime support