new opening times logic