rewrite the top level Commit Controller