createCodeTable