committing before branching