add all before commit