infinity loop realization