put a check for time duration availability