add CodeItem
add CodeItem
code refactor
read CodeItem