With debug printfs.