checkpoint, not quite working, yet...