added openinghours func