switch commit