Adding resume and printing previous lines.