thinner api, date validating