add commit code