Makes restart fn.