commit and delete