sophia: add checkpoint control