changed contracts date to Date instead of String