++checkpoint: compiles but crashes