Adding checkpoint