use right code for note