changed hours to a while