Works when restauring past