implement Commit and Char