Correcting warps and inputting rest.