valid dates/better SO