add name label and corresponding code