updated to use Date from json file