commit and bail