checking if selectable dates work