checkpoint-- next is quardratic!