trying to set the max date