add code setting