perfected dateHandler and did some class experiments, also fixed encoding issue.