checkpoint commit. probably doesnt compile