change openingtime to dirctionary