Rename function getnumcode to cannumcode and create currentnumcode.