TempCommit for John

-do not trust this code