upd| change $inteval to $timeout