add model to cbx
add model logic
add table model