add MagicDates class