committing before switching