add code insertion