add index and register
add some models