date changed to DateTime from joda-time