trying to compare start and end dates