Time loop machine