start with description of loop invariants of peek